﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
 

namespace DownloadPlug_ins
{
    public partial class frmSetMessage : Form
    {
        public frmSetMessage()
        {
            InitializeComponent();
        }
        //public string SendSms(string Message, string[] destinationAddresses)
        //{
        //    string Url = "http://***.***.***.***:9080/OpenMasService";
        //    Sms Client = new Sms(Url);
        //    string externcode = "0101"; //自定义扩展代码（模块）
        //    string ApplicationID = "DefaultApplication";
        //    string Password = "";
        //    //发送短信(立即发送)
        //    return Client.SendMessage(destinationAddresses, Message, externcode, ApplicationID, Password);
        //}

        private void gbtnSend_Click(object sender, EventArgs e)
        {
            string desc = this.ctxtSJhm.Text;
            string msg = this.cTextBox1.Text;
            string[] destinationAddresses = desc.Split(',');
            //SendSms(msg, destinationAddresses);
        }
    }
}
